<template>
  <div style="background-color: #ffffff;padding: 24px">
    <div>数据更新时间: 2020-09-04</div>
    <div style="overflow: hidden;margin-top: 16px">
      <div style="padding: 10px 15px;border: 1px #dddddd solid;border-top: 5px #06C1AE solid;width: 222px;float: left;margin-right: 16px">
        <div style="font-size: 16px;margin-bottom:16px">用户口碑（D）</div>
        <div style="font-size: 28px;margin-bottom:16px">4.53</div>
        <div style="font-size: 14px;margin-bottom:16px">较前一日<span style="margin-left: 48px">持平</span></div>
        <div style="font-size: 14px;margin-bottom:16px">同行平均标准<span style="margin-left: 20px">4.53</span></div>
      </div>
      <div style="padding: 10px 15px;border: 1px #dddddd solid;border-top: 5px #06C1AE solid;width: 222px;float: left;margin-right: 16px">
        <div style="font-size: 16px;margin-bottom:16px">服务态度（S）</div>
        <div style="font-size: 28px;margin-bottom:16px">4.68</div>
        <div style="font-size: 14px;margin-bottom:16px">较前一日<span style="margin-left: 48px">持平</span></div>
        <div style="font-size: 14px;margin-bottom:16px">同行平均标准<span style="margin-left: 20px">4.68</span></div>
      </div>
      <div style="padding: 10px 15px;border: 1px #dddddd solid;border-top: 5px #06C1AE solid;width: 222px;float: left;margin-right: 16px">
        <div style="font-size: 16px;margin-bottom:16px">发货速度（R）</div>
        <div style="font-size: 28px;margin-bottom:16px">4.67</div>
        <div style="font-size: 14px;margin-bottom:16px">较前一日<span style="margin-left: 48px">持平</span></div>
        <div style="font-size: 14px;margin-bottom:16px">同行平均标准<span style="margin-left: 20px">4.67</span></div>
      </div>
    </div>
    <div style="margin-top: 16px">变化趋势</div>
    <div style="margin-top: 16px">
      <a-radio-group :value="days" @change="handleChange">
        <a-radio-button value="7">
          7天
        </a-radio-button>
        <a-radio-button value="14">
          14天
        </a-radio-button>
        <a-radio-button value="30">
          30天
        </a-radio-button>
      </a-radio-group>
      <a-range-picker :placeholder="['开始时间', '结束时间']" style="margin-left: 20px"/>
      <div style="margin-top: 16px">
        <img src="@/assets/img/dsr.png">
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'DsrData',
  data () {
    return {
      days: '7'
    }
  },
  methods: {
    handleChange (e) {
      this.days = e.target.value
    }
  }
}
</script>

<style scoped>

</style>
